package com.hue.springbooteasyexcel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @Author: 姚凤桥
 * @Date: 2022/4/12 14:28
 * @Description:
 */
@Data
public class TbUser {
    @TableId
    private Long id;

    @ExcelProperty(index = 0)
    private String account;

    @ExcelProperty(index = 1)
    @TableField(exist = false)
    private String nickname;

    @ExcelProperty(index = 4)
    @TableField(exist = false)
    private String gender;

    @ExcelProperty(index = 2)
    @TableField(exist = false)
    private String address;

    @ExcelProperty(index = 3)
    @TableField(exist = false)
    private String imgUrl;
}
